namespace Plugins.Engine
{
    using System;
    using System.Globalization;

    public static class GuidHelper
    {
        public static string Guid(Guid id1, Guid id2)
        {
            return string.Format(CultureInfo.InvariantCulture, "{0}-{1}", id1, id2);
        }
        public static string Guid(PluginTypeInstance obj)
        {
            return Guid(obj.ServiceId, obj.ContractId);
        }
    }
}
